ThinkPHP5


think\db\builder\Sqlsrv
library\think\db\builder\Sqlsrv.php at line 19

Class Sqlsrv

Builder
└─Sqlsrv

public class Sqlsrv
extends Builder

Sqlsrv数据库驱动


Method Summary
protected string

parseOrder(mixed order, array options)

order分析

protected string

parseRand()

随机排序

protected string

parseKey(string key, array options)

字段和表名处理

protected string

parseLimit(mixed limit, mixed lmit)

limit

string

selectInsert(array fields, string table, array options)

生成slectinsert SQL

Methods inherited from think\db\Builder
__construct, buildWhere, delete, insert, insertAll, parseClosure, parseComment, parseData, parseDateTime, parseDistinct, parseField, parseForce, parseGroup, parseHaving, parseJoin, parseKey, parseLimit, parseLock, parseOrder, parseSqlTable, parseTable, parseUnion, parseValue, parseWhere, parseWhereItem, select, selectInsert, setQuery, update

Method Detail

library\think\db\builder\Sqlsrv.php at line 33

parseOrder

protected string parseOrder(mixed order, array options)

order分析


library\think\db\builder\Sqlsrv.php at line 59

parseRand

protected string parseRand()

随机排序


library\think\db\builder\Sqlsrv.php at line 71

parseKey

protected string parseKey(string key, array options)

字段和表名处理


library\think\db\builder\Sqlsrv.php at line 95

parseLimit

protected string parseLimit(mixed limit, mixed lmit)

limit


library\think\db\builder\Sqlsrv.php at line 110

selectInsert

public string selectInsert(array fields, string table, array options)

生成slectinsert SQL

Parameters:
fields - 数据
table - 数据表
options - 表达式

ThinkPHP5